Skip to content

Unify parallel and sequential KMeansPalettizer centroid computation - #66

Merged
anotheranshu merged 1 commit into
apple:mainfrom
anotheranshu:palettizer-drop-example-inputs
Aug 7, 2026
Merged

Unify parallel and sequential KMeansPalettizer centroid computation#66
anotheranshu merged 1 commit into
apple:mainfrom
anotheranshu:palettizer-drop-example-inputs

Conversation

@anotheranshu

Copy link
Copy Markdown
Contributor

This change adopts the parallel path's per-fake-palettize computation for the sequential path, eliminating the need to retain example_inputs. Sequential just does the same thing as parallel using a loop instead of a worker pool. Tested using existing unit tests, as there's coverage for both the sequential and parallel centroid computation.

…This change adopts the parallel path's per-fake-palettize computation for the sequential path, eliminating the need to retain example_inputs. Sequential just does the same thing as parallel using a loop instead of a worker pool. Tested using existing unit tests, as there's coverage for both the sequential and parallel centroid computation.
@anotheranshu
anotheranshu merged commit e3fa491 into apple:main Aug 7, 2026
11 checks passed
@anotheranshu
anotheranshu deleted the palettizer-drop-example-inputs branch August 7, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants